Within this method, I use the Reflection APIs on Class to create a new instance of that type ( invoking its default constructor). 在这种方法中,我对Class使用了ReflectionAPI,创建了该类型的新实例(调用其默认构造方法)。
When a new Filter type is created, the corresponding closure named simplefilter will be passed into the constructor. 当创建新的Filter类型时,对应的名为simplefilter的闭包会被传递到构造器中。
This constructs a new instance of the delegate type using the constructor MyDelegate ( object, IntPtr). 通过使用MyDelegate(object,IntPtr)构造器,就构建了一个委托类型的新实例。
The new wrapper type must have an empty constructor. 新包装类型必须具有一个空的构造函数。